﻿using PrearrangedChaos.AgileZen.Service.Model;
using PrearrangedChaos.AgileZen.Service.Rest;

namespace PrearrangedChaos.AgileZen.Service
{
    internal class ZenAttachmentCollection<TCollection> : ZenResourceCollection<TCollection, IAttachment>, IZenAttachmentEnumerable
        where TCollection : class, IPagingResponse<IAttachment>
    {
        public ZenAttachmentCollection(string apiKey, int pageSize, int projectId, int storyId)
            : base(apiKey, RestArguments.Attachment(projectId, storyId, pageSize))
        {
        }
    }
}